package com.ea.admin.service;

import com.ea.admin.pojo.vo.account.FunctionPermissionVo;

import java.util.List;

public interface FunctionPermissionService {

    List<FunctionPermissionVo> getFunctionPermissionByAccountId(Long accountId);

    List<Integer> getDefaultFunctionPermissionCode(Long adminRoleId);

    List<FunctionPermissionVo> getDefaultFunctionPermission(Long adminRoleId);

    List<Integer> getAllFunctionPermission();

    void addFunctionPermission(Long accountId, List<Integer> allPermission);

    void deleteFunctionPermissionByAccountId(Long accountId);
}
